Skip to content

Add Oxpecker repository to build check#20065

Open
Lanayx wants to merge 1 commit into
dotnet:mainfrom
Lanayx:patch-1
Open

Add Oxpecker repository to build check#20065
Lanayx wants to merge 1 commit into
dotnet:mainfrom
Lanayx:patch-1

Conversation

@Lanayx

@Lanayx Lanayx commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Added Oxpecker repository to build check to prevent issues like #20059

@github-actions

Copy link
Copy Markdown
Contributor

✅ No release notes required

@github-actions github-actions Bot added the ⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure label Jul 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Tooling Safety Check — Affects-Build-Infra
Affects-Build-Infra: modifies CI pipeline (azure-pipelines-PR.yml)

Generated by PR Tooling Safety Check · opus46 2.5M ·

@Lanayx

Lanayx commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

CI fails at Oxpecker.slnx with

D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Render.fs(61,17): error FS0001: The type 'IAsyncDisposable' is not compatible with the type 'IDisposable' [D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Oxpecker.ViewEngine.fsproj]
D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Render.fs(61,13): error FS0001: The type 'IAsyncDisposable' is not compatible with the type 'IDisposable' [D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Oxpecker.ViewEngine.fsproj]
D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Render.fs(76,17): error FS0001: The type 'IAsyncDisposable' is not compatible with the type 'IDisposable' [D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Oxpecker.ViewEngine.fsproj]
D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Render.fs(76,13): error FS0001: The type 'IAsyncDisposable' is not compatible with the type 'IDisposable' [D:\a\_work\1\TestRepo\src\Oxpecker.ViewEngine\Oxpecker.ViewEngine.fsproj]

I've no idea why, locally it builds fine with 10.0.100 or later

@majocha

majocha commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Encountered conflict between 'Reference:D:\a_work\1/FSharpCompiler/artifacts/bin/FSharp.Core/Release/netstandard2.0/FSharp.Core.dll' and 'Reference:C:\Users\cloudtest.nuget\packages\fsharp.core\10.0.100\lib\netstandard2.1\FSharp.Core.dll'. Choosing 'Reference:D:\a_work\1/FSharpCompiler/artifacts/bin/FSharp.Core/Release/netstandard2.0/FSharp.Core.dll' because AssemblyVersion '11.0.0.0' is greater than '10.0.0.0'.

It loads ns20 FSharp.Core which has no IAD support.

@Lanayx

Lanayx commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

It loads ns20 FSharp.Core which has no IAD support.

This doesn't make sense, all Oxpecker projects target .NET 10, so ns21 should be chosen, not ns20.

@majocha

majocha commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

I think it's the shims to use local compiler in the CI, they probably add the reference to ns20 library. That msbuild prefers it is another story.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

2 participants